package com.cares.entity.mng;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 
 * @author ZZW
 *
 */
public class LoginToken extends UsernamePasswordToken {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3962218566974569301L;
	private String locale;
	private String source;
 
	public LoginToken() {
		super();
	}

	public LoginToken(String username, char[] password,
			boolean rememberMe, String host, String locale, String source) {
		super(username, password, rememberMe, host);
		this.locale = locale;
		this.source = source;
	}

	public String getLocale() {
		return locale;
	}

	public void setLocale(String locale) {
		this.locale = locale;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}
}
